package com.kazu.index.entity.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 首页展示句子
 * </p>
 *
 * @author kazu
 * @since 2023/02/19 09:41
 */
@Data
@TableName("kazu_index_sentence")
@Schema(name = "IndexSentence对象", description = "首页展示句子")
public class IndexSentence implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	@Schema(name = "id", description = "id")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	@Schema(name = "textCn", description = "中文文本")
	@TableField("text_cn")
	private String textCn;
	
	@Schema(name = "textEn", description = "英文文本")
	@TableField("text_en")
	private String textEn;
	
	@Schema(name = "createTime", description = "创建时间")
	@TableField("create_time")
	private LocalDateTime createTime;
	
	@Schema(name = "updateTime", description = "修改时间")
	@TableField("update_time")
	private LocalDateTime updateTime;
	
	@Schema(name = "isDeleted", description = "是否删除(0-未删, 1-已删)")
	@TableField("is_deleted")
	@TableLogic
	private Byte isDeleted;
	
	
}




